package com.xiaoka.flutter_plugin_gdmap;

/**
 * Copyright (C), 2020 - 2999, Sichuan Xiaoka Technology Co., Ltd.
 *
 * @Description:定位数据
 * @Author: lch
 * @Date: 2020/10/21 16:25
 **/
public class LocationBean {

    //获取经度
    private double longitude;
    //获取纬度
    private double latitude;
    //获取海拔高度信息
    private double altitude;
    //获取精度信息
    private float accuracy;
    //获取方向角信息
    private float bearing;
    //获取单位：米/秒
    private float speed;
    //获取当前定位结果来源，0定位失败 1GPS定位结果 2前次定位结果 4缓存定位结果 5Wifi定位结果 6基站定位结果 7离线定位结果 8最后位置缓存
    private int locationType;
    //国家信息
    private String country;
    //省信息
    private String province;
    //城市信息
    private String city;
    //城区信息
    private String district;
    //街道信息
    private String street;
    //城市编码
    private String cityCode;
    //地区编码
    private String adCode;
    //获取当前定位点的AOI信息
    private String aoiName;
    //地址
    private String address;
    //获取定位时间 13位时间戳
    private long time;

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getAltitude() {
        return altitude;
    }

    public void setAltitude(double altitude) {
        this.altitude = altitude;
    }

    public float getAccuracy() {
        return accuracy;
    }

    public void setAccuracy(float accuracy) {
        this.accuracy = accuracy;
    }

    public float getBearing() {
        return bearing;
    }

    public void setBearing(float bearing) {
        this.bearing = bearing;
    }

    public float getSpeed() {
        return speed;
    }

    public void setSpeed(float speed) {
        this.speed = speed;
    }

    public int getLocationType() {
        return locationType;
    }

    public void setLocationType(int locationType) {
        this.locationType = locationType;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getAdCode() {
        return adCode;
    }

    public void setAdCode(String adCode) {
        this.adCode = adCode;
    }

    public String getAoiName() {
        return aoiName;
    }

    public void setAoiName(String aoiName) {
        this.aoiName = aoiName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }
}
